/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm;

import org.hibernate.Criteria;
import org.orm.PersistentException;
import org.orm.PersistentSession;
import org.orm.criteria.*;

public class Palabra_semanticaCriteria extends AbstractORMCriteria {
	public final IntegerExpression ps_id;
	public final StringExpression ps_palabra;
	public final IntegerExpression ps_valor;
	
	public Palabra_semanticaCriteria(Criteria criteria) {
		super(criteria);
		ps_id = new IntegerExpression("ps_id", this);
		ps_palabra = new StringExpression("ps_palabra", this);
		ps_valor = new IntegerExpression("ps_valor", this);
	}
	
	public Palabra_semanticaCriteria(PersistentSession session) {
		this(session.createCriteria(Palabra_semantica.class));
	}
	
	public Palabra_semanticaCriteria() throws PersistentException {
		this(orm.LicitacionesPersistentManager.instance().getSession());
	}
	
	public Palabra_semantica uniquePalabra_semantica() {
		return (Palabra_semantica) super.uniqueResult();
	}
	
	public Palabra_semantica[] listPalabra_semantica() {
		java.util.List list = super.list();
		return (Palabra_semantica[]) list.toArray(new Palabra_semantica[list.size()]);
	}
}

